package com.yh.patterns.decorator.view;

/**
 * @Auther:云尚学Java
 * 组件类
 */
public abstract class Component {
    //描述
    private String desc;
    public Component() {
    }

    public Component(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
